package com.brave.user.dto;

import com.brave.base.EnumUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel
public class UpdateUserInfoDTO
{
    @ApiModelProperty(name = "userName", value = "用户姓名", required = true)
    private String userName;

    @ApiModelProperty(name = "sex", value = "性别", required = true)
    private EnumUtils.SexType sex;
    
    @ApiModelProperty(name = "birthday", value = "出生日期", required = true )
    @JsonFormat(pattern = "yyyy-mm-dd")
    @DateTimeFormat(pattern = "yyyy-mm-dd")
    private Date birthday;

    @ApiModelProperty(name = "phone", value = "手机号", required = true)
    private String phone;

    @ApiModelProperty(name = "newPhone", value = "新号码", required = true)
    private String newPhone;
    
    @ApiModelProperty(name = "verifyCode", value = "验证码", required = true)
    private String verifyCode;

    @ApiModelProperty(name = "address", value = "地址", required = true)
    private String address;

    @ApiModelProperty(name = "receiveAddress", value = "收货地址", required = true)
    private String receiveAddress;

    @ApiModelProperty(name = "idCardFrontPhoto", value = "身份证正面照", required = true)
    private String idCardFrontPhoto;

    @ApiModelProperty(name = "idCardBackPhoto", value = "身份证反面照", required = true)
    private String idCardBackPhoto;

    @ApiModelProperty(name = "handIdCardPhoto", value = "手持身份证照", required = true)
    private String handIdCardPhoto;

    @ApiModelProperty(name = "alipayAccount", value = "支付宝账号", required = true)
    private String alipayAccount;

    @ApiModelProperty(name = "wechatAccount", value = "微信账号", required = true)
    private String wechatAccount;

    @ApiModelProperty(name = "weiboAccount", value = "微博账号", required = true)
    private String weiboAccount;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public EnumUtils.SexType getSex() {
        return sex;
    }

    public void setSex(EnumUtils.SexType sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNewPhone() {
        return newPhone;
    }

    public void setNewPhone(String newPhone) {
        this.newPhone = newPhone;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public String getIdCardFrontPhoto() {
        return idCardFrontPhoto;
    }

    public void setIdCardFrontPhoto(String idCardFrontPhoto) {
        this.idCardFrontPhoto = idCardFrontPhoto;
    }

    public String getIdCardBackPhoto() {
        return idCardBackPhoto;
    }

    public void setIdCardBackPhoto(String idCardBackPhoto) {
        this.idCardBackPhoto = idCardBackPhoto;
    }

    public String getHandIdCardPhoto() {
        return handIdCardPhoto;
    }

    public void setHandIdCardPhoto(String handIdCardPhoto) {
        this.handIdCardPhoto = handIdCardPhoto;
    }

    public String getAlipayAccount() {
        return alipayAccount;
    }

    public void setAlipayAccount(String alipayAccount) {
        this.alipayAccount = alipayAccount;
    }

    public String getWechatAccount() {
        return wechatAccount;
    }

    public void setWechatAccount(String wechatAccount) {
        this.wechatAccount = wechatAccount;
    }

    public String getWeiboAccount() {
        return weiboAccount;
    }

    public void setWeiboAccount(String weiboAccount) {
        this.weiboAccount = weiboAccount;
    }
}